<!--top结束-->
<div class="mian">
	<div class="mian1">
		<div class="mian2">
			<!--left start-->
            <?php $this->load->view('defaults/common/left');?>
			<!--left end-->
			
			<!--right start-->
			<div class="right">
				<!--breadcrumb start-->
				<div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
				<!--breadcrumb end-->
				<!-- contents start -->
				<div id="contents">
                  
            <div class="ct_content">
                <p><span><?= lang('wms_panel_30047') ?></span></p>
                <table class="c_c_tables tbwd800 newTableStyle" cellspacing="0">
                  <thead>
                    <tr>
                                <th><?= lang('wms_panel_30041') ?></th>
                                <th><?= lang('wms_ckdm') ?></th>
                                <th><?= lang('wms_panel_30042') ?></th>
                                <th><?= lang('wms_panel_30043') ?></th>
                                <th><?= lang('wms_panel_30017') ?></th>
                                <th><?= lang('wms_panel_30051') ?></th>
                                <th><?= lang('wms_panel_30044') ?></th>
                                <th><?= lang('wms_panel_30002') ?></th>
                                <th><?= lang('wms_panel_30015') ?></th>
                                <th><?= lang('wms_panel_30018') ?></th>
                    </tr>
                  </thead>
                  <tbody>
                    <tr align="center">
                                    <td><?=$order_id ?></td>
                                    <td><?=$whs_code?></td>
<!--                                    <td><?=$ref_num ?></td>-->
                                    <td><?=$order_from ?></td>
                                    <td><?=$status_view[$status]?></td>
                                    <td><?=$creator_id?></td>
                                    <td><?=$in_or_out ?></td>
                                    <td><?=$in_out_type ?></td>
                                    <td><?=$comments?></td>  
                                    <td><?=$created_time?></td>
                                    <td><?php if(1==$status):?><a href="<?=blang_url('wms/Zcsq/zcsq_agree_t/'.$order_id)?>" ><?= lang('wms_panel_30045') ?></a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="<?=blang_url('wms/Zcsq/zcsq_cancel/'.$order_id)?>" ><?= lang('wms_panel_30046') ?></a><?php endif; ?></td>
                  </tbody>
                </table>
                    <!-- 列表展示开始List start -->
                    <?php if($items):?>
                    <div class="ct_content">
                        <p><span><?=lang('order_cplb')?></span></p>
                        <table class="c_c_tables tbwd800" cellspacing="0">
                            <thead>
                            <tr>
                                <th>SKU</th>
                                <th><?= lang('wms_sl') ?></th>
                                <th><?= lang('wms_mc') ?></th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php foreach ($items as $key=>$rs):?>
                                <tr align="center">
                                    <td><?=$rs['sku']?></td>
                                    <td><?=$rs['quantity']?></td>
                                    <td><?=$rs['products_name']?></td>
                                </tr>
                            <?php endforeach;?>
                            </tbody>
                        </table>
                    </div>
                    <?php endif; ?>
                    <!-- 1列表展示开始List end -->

				</div>
				<!-- contents end -->
			</div>
			<!--right end-->
           <div class="clear"></div>
		</div>
	</div>
</div>

